package com.hospital.demo.model.jiajinpeng.poly;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.stereotype.Repository;

import java.util.Date;

@Repository
public class AddAllHospital {
    private Integer zid;

    private Integer pid;

    private String pname;

    private Integer page;

    private String psex;

    private String dename;

    private String beds;

    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date idate;

    private Integer deposit;

    public AddAllHospital(Integer zid, Integer pid, String pname, Integer page, String psex, String dename, String beds, Date idate, Integer deposit) {
        this.zid = zid;
        this.pid = pid;
        this.pname = pname;
        this.page = page;
        this.psex = psex;
        this.dename = dename;
        this.beds = beds;
        this.idate = idate;
        this.deposit = deposit;
    }

    public AddAllHospital() {
    }

    public Integer getZid() {
        return zid;
    }

    public void setZid(Integer zid) {
        this.zid = zid;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public String getPsex() {
        return psex;
    }

    public void setPsex(String psex) {
        this.psex = psex;
    }

    public String getDename() {
        return dename;
    }

    public void setDename(String dename) {
        this.dename = dename;
    }

    public String getBeds() {
        return beds;
    }

    public void setBeds(String beds) {
        this.beds = beds;
    }

    public Date getIdate() {
        return idate;
    }

    public void setIdate(Date idate) {
        this.idate = idate;
    }

    public Integer getDeposit() {
        return deposit;
    }

    public void setDeposit(Integer deposit) {
        this.deposit = deposit;
    }
}
